#!/bin/bash
export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles"
export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.ustc.edu.cn/brew.git"
export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.ustc.edu.cn/homebrew-core.git"
export HOMEBREW_API_DOMAIN="https://mirrors.ustc.edu.cn/homebrew-bottles/api"
export HOMEBREW_INSTALL_FROM_API=1

/bin/bash -c "$(curl -fsSL https://mirrors.ustc.edu.cn/misc/brew-install.sh | sed '/^  wait_for_user/d' )"
/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/brew/raw/master/brew_config.sh)"
source ~/.zprofile

/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/brew/raw/master/mac_setting.sh)" &
/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/brew/raw/master/ohmyzsh_install.sh)"

/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/brew/raw/master/mbase_install.sh)"


/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/brew/raw/master/bigfile_install.sh)"

open -a iTerm
killall Terminal
<<COMMENT

/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/brew/raw/master/brew_install.sh)"

COMMENT
